package com.swu.pad.event.service;


import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.swu.pad.event.entity.Event;
import com.swu.pad.event.entity.RftWritingEvent;


public interface EventService {
    
	/**
	 * 存储事件
	 * @param event
	 */
	public void saveUserEvent(Event event);
	
	/**
	 * 根据ID获取事件
	 * @param eventID
	 * @return
	 */
	public Event  getEventById(String eventId);
	
	
	/**
	 * 获取用户的事件
	 * @param userId
	 * @return 
	 */
	public List<Event> getUserEvents(String userId);
    /*
     * 保存学生的 行为
     */
	public void saveRftWritingEvent(RftWritingEvent rftWritingEvent);


}
